// pages/commentlist/commentlist.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    commentList: [],
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad(options) {
    var that = this
    const eventChannel = this.getOpenerEventChannel()
    eventChannel.on('getcommentList', function (data) {
      console.log("ssss")
      console.log(data)
      that.setData({
        commentList: data.commentList
      })


    })
  },


})